package com.hpq.user.service;

import com.hpq.user.domain.enums.RoleEnum;
import com.hpq.user.domain.vo.request.user.BlackReq;

/**
 * <p>
 * 角色表 服务类
 * </p>
 *
 * @author hpq
 * @since 2024-11-29
 */
public interface RoleService{
    /**
     * 判断用户是否有某权限
     * @param uid
     * @param roleEnum
     * @return
     */
    boolean hasPower(Long uid, RoleEnum roleEnum);

    void black(BlackReq req);

}
